updating oE peek_string

peek_string

<built-in> function peek_string(atom addr) 

reads an ASCII string in RAM, starting from a supplied address.

Parameters:
  1. addr : an atom, the address at which to start reading.
Returns:

A sequence, of bytes, the string that could be read.

Errors:

Further, peeking in memory that does not belong to your process is something the operating system could prevent, and you'd crash with a machine level exception.

Comments:

An ASCII string is any sequence of bytes and ends with a 0 byte. If you peek_string at some place where there is no string, you will get a sequence of garbage.

See Also:

Using Strings, peek, peek_wstring, allocate_string

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu